CommonsBooking\Plugin A

Total Complexity 51
Dependencies 20
Dependents 8
Total lines 465
Lines of code 257
Logical lines of code 103
Comment lines 125
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
addCustomUserRoles()
S
50 5 30
getTheContent()
S
62 6 11
setParentFile()
S
62 4 11
renderError()
S
58 3 17
addMenuPages()
S
50 2 31
initRoutes()
S
58 2 17
registerLocationTaxonomy()
S
58 2 16
registerItemTaxonomy()
S
58 2 16
runTasksAfterUpdate()
S
64 3 9
savePostActions()
S
66 3 9
getCacheId()
S
63 2 10
registerCustomPostTypes()
S
70 2 6
registerPostStates()
S
72 2 5
init()
S
58 1 15
maybeEnableCB1UserFields()
S
70 2 6
saveOptionsActions()
S
69 2 7
registerAdminOptions()
S
68 2 6
getCustomPostTypesLabels()
S
68 1 8
getCustomPostTypes()
S
68 1 8
initBookingcodes()
S
73 1 4
setCacheItem()
S
78 1 3
getCacheItem()
S
79 1 3
clearCache()
S
66 1 9